package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 房源备案请求记录
 * </p>
 *
 * @author hans.zhang
 * @since 2023-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_house_filings_logs")
@Schema(description="房源备案请求记录")
public class RoomHouseFilingsLogs extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "房源ID")
    private Long roomHouseId;

    @Schema(description = "请求地址")
    private String url;

    @Schema(description = "请求状态, 1成功 2失败")
    private String status;

    @Schema(description = "请求json")
    private String sendJson;

    @Schema(description = "响应json")
    private String receiveJson;

    @Schema(description = "错误信息")
    private String errMsg;

}
